// import type { userInfoType } from '@/types'

export const useUserStore = defineStore('USER_INFO_STORE', {
  state: (): userInfoType => {
    return {
      avatar: '',
      role: '',
      realName: '用户名',
      userName: ''
    }
  },

  persist: {
    storage: sessionStorage
  }
})
